﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.DTO
{
    public class ShippingSubmitDto
    {            
        /// <summary>
        /// 实体类
        /// </summary>
        public MainData mainData { get; set; }
        /// <summary>
        /// List集合
        /// </summary>
        public List<DetList> detList { get; set; }


    }


    public class MainData
    {
        /// <summary>
        /// 生产备料单号
        /// </summary>
        public string preAppCode { get; set; }
        /// <summary>
        /// 领料出库单号
        /// </summary>
        public string pickingCode { get; set; }
        /// <summary>
        /// 生产工单号
        /// </summary>
        public string workOrderCode { get; set; }
        /// <summary>
        /// 生产订单号
        /// </summary>
        public string prodOrderCode { get; set; }
        /// <summary>
        /// 发料时间
        /// </summary>
        public string deliverTime { get; set; }
        /// <summary>
        /// 发料人员
        /// </summary>
        public string deliverPerson { get; set; }
    }

    public class DetList
    {
        /// <summary>
        /// 托盘号
        /// </summary>
        public string palletNum { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string materialCode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string materialName { get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        public string materialBatch { get; set; }
        /// <summary>
        /// 实发数量
        /// </summary>
        public decimal actualAamount { get; set; }
        /// <summary>
        /// 数量单位
        /// </summary>
        public string amountUnit { get; set; }
        /// <summary>
        /// 实发重量
        /// </summary>
        public decimal actualWeight { get; set; }
        /// <summary>
        /// 重量单位
        /// </summary>
        public string weightUnit { get; set; }
    }

}
